const { flatten } = require("../utils/transform_tool");
const { BaseCommand } = require("./base");

class FlattenCommand extends BaseCommand {
    async execute() {
        const _data = this.selfData;
        const content = this.content;
        return flatten(content);
    }

    getRequireContent() {
        return true;
    }
}

module.exports = {
    FlattenCommand,
};
